package factory.test;

public class IntegerByteDemo {
    public static void main(String[] args) {
        Integer integer = 2;
        byte b = 2;
        System.out.println(integer.equals(b));
        System.out.println(integer.byteValue() == b);
    }
}
